<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>Document</title>
		<style>
			* {
				padding: 0;
				margin: 0;
			}

			.box {
				position: relative;
				margin: 100px auto 0;
				width: 600px;
				/*border: 2px solid gold;*/
				text-align: center;
				font-size: 0;
			}

			.line {
				position: absolute;
				bottom: 0;
				height: 2px;
				width: 500px;
				left: 50px;
				background-color: black;
			}

			.a {
				z-index: 1;
				border: 2px solid black;
				width: 100px;
				height: 35px;
				display: inline-block;
				background-color: white;
				margin: 0 10px;
				border-top-left-radius: 8px;
				border-top-right-radius: 8px;
				position: relative;
			}

			.a:hover {
				/*height: 37px;*/
				border-bottom: none;
			}



		</style>
	</head>
	<body>

		<div class="box">
			<div class="a"></div>
			<div class="a"></div>
			<div class="a"></div>
			<div class="line"></div>
		</div>
		
	</body>
</html>